let request = require("./request")

// 登录
const createUser = (data) => request('/api/wxuser/', "post", data)//创建用户
const getUserInfo = (data) => request('/api/wxuser/', 'get', data)//获取用户信息
const putUser = (data) => request('/api/wxuser/', 'put', data)
//手机号
const phone = (data) => request('/api/wxuser/telephone', "post", data)
//支付
const pay = (data) => request('api/wxuser/pay', "POST", data)
module.exports = {
  phone,
  createUser,
  getUserInfo,
  putUser,
  pay

}

